package com.global.gbinventory.exception;

import java.awt.Container;

import javax.swing.JOptionPane;

public class EmptyTableException extends Exception{

	private static final long serialVersionUID = -8291958826691690504L;

	public void printError(Container frame){
		String title = "Error Tabel Kosong";
		String message = "Tidak ada data di tabel. Silakan tekan tombol Cancel !!";
		JOptionPane.showMessageDialog(frame, message, title, JOptionPane.INFORMATION_MESSAGE);
	}
	
}
